package com.dissertation.pojo;

import java.util.List;

public class DataTableRequest {

    private String sEcho;
    private int iColumns; // 列数
    private int iDisplayStart; //skip
    private int iDisplayLength; // limit
    private List<Integer> amDataProp;
    private List<String> asSearch;

    private List<Boolean> abRegex;
    private List<Boolean> abSearchable;
    private List<Boolean> abSortable;
    private String sSearch;

    private boolean bRegex;
    private int iSortingCols;
    private List<String> asSortDir;

    public String getsEcho() {
        return sEcho;
    }

    public void setsEcho( String sEcho ) {
        this.sEcho = sEcho;
    }

    public int getiColumns() {
        return iColumns;
    }

    public void setiColumns( int iColumns ) {
        this.iColumns = iColumns;
    }

    public int getiDisplayStart() {
        return iDisplayStart;
    }

    public void setiDisplayStart( int iDisplayStart ) {
        this.iDisplayStart = iDisplayStart;
    }

    public int getiDisplayLength() {
        return iDisplayLength;
    }

    public void setiDisplayLength( int iDisplayLength ) {
        this.iDisplayLength = iDisplayLength;
    }

    public List<Integer> getAmDataProp() {
        return amDataProp;
    }

    public void setAmDataProp( List<Integer> amDataProp ) {
        this.amDataProp = amDataProp;
    }

    public List<String> getAsSearch() {
        return asSearch;
    }

    public void setAsSearch( List<String> asSearch ) {
        this.asSearch = asSearch;
    }

    public List<Boolean> getAbRegex() {
        return abRegex;
    }

    public void setAbRegex( List<Boolean> abRegex ) {
        this.abRegex = abRegex;
    }

    public List<Boolean> getAbSearchable() {
        return abSearchable;
    }

    public void setAbSearchable( List<Boolean> abSearchable ) {
        this.abSearchable = abSearchable;
    }

    public List<Boolean> getAbSortable() {
        return abSortable;
    }

    public void setAbSortable( List<Boolean> abSortable ) {
        this.abSortable = abSortable;
    }

    public String getsSearch() {
        return sSearch;
    }

    public void setsSearch( String sSearch ) {
        this.sSearch = sSearch;
    }

    public boolean isbRegex() {
        return bRegex;
    }

    public void setbRegex( boolean bRegex ) {
        this.bRegex = bRegex;
    }

    public int getiSortingCols() {
        return iSortingCols;
    }

    public void setiSortingCols( int iSortingCols ) {
        this.iSortingCols = iSortingCols;
    }

    public List<String> getAsSortDir() {
        return asSortDir;
    }

    public void setAsSortDir( List<String> asSortDir ) {
        this.asSortDir = asSortDir;
    }

    @Override
    public String toString() {
        return "DataTableRequest{" +
                "sEcho='" + sEcho + '\'' +
                ", iColumns=" + iColumns +
                ", iDisplayStart=" + iDisplayStart +
                ", iDisplayLength=" + iDisplayLength +
                ", amDataProp=" + amDataProp +
                ", asSearch=" + asSearch +
                ", abRegex=" + abRegex +
                ", abSearchable=" + abSearchable +
                ", abSortable=" + abSortable +
                ", sSearch='" + sSearch + '\'' +
                ", bRegex=" + bRegex +
                ", iSortingCols=" + iSortingCols +
                ", asSortDir=" + asSortDir +
                '}';
    }
}
